package com.ld.security.auth.common.feign;


import com.ld.security.auth.common.base.entity.JwtUserInfo;
import com.ld.security.auth.common.base.po.FunctionPo;
import com.ld.security.auth.common.base.po.LoginPo;
import com.ld.security.auth.common.base.vo.FunctionVo;
import com.ld.security.auth.common.base.vo.TokenVo;
import com.ld.security.auth.common.rpc.po.TokenPo;
import com.ld.security.common.core.base.vo.DataVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.util.Map;

@FeignClient(name =  "oauth",url = "http://127.0.0.1:6080/")
public interface TokenFeign {

    @RequestMapping(value = "/oauth/token",method = RequestMethod.POST)
    Map<String,Object> token(Map<String, String> map);

}
